package com.maben.mybatis_plus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 测试主键自增
 */
@TableName("test001")
@Data
public class Test001 {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private int age;
}
